<?php
class Admin_Models_CategoryModel extends Zend_Db_Table_Abstract{
	protected $_name="category";
	protected $_primary="id";
	
	function getCategoryList(){
		$db = Zend_Db_Table::getDefaultAdapter();
		$mySql = $db->select()
					->from(array("c"	=> $this->_name));
		$result = $db->fetchAll($mySql);
		return $result;
	}
}